python swd.py -mode adapt_swd